<script type="text/javascript">
$(function(){
	$.post("tellerManage/getTellerInfo",getTellerInfo,"json");
});
//修改
function updateTeller(){
	if($("input[name='tellerManage']:checked").length < 1){
		 alertMsg.warn("您未选择数据！")
		 return false;
	 }
	if($("input[name='tellerManage']:checked").length > 1){
		 alertMsg.warn("不能选择多于1条数据！")
		 return false;
	 }
	var parm=$("input[name='tellerManage']:checked").val();
 	var options=getOptionsBig();
 	options.parm=parm; 
	$.pdialog.open("tellerManage/goUpdateTeller","infos", "修改柜员信息",options); 
}

</script>


<div class="pageHeader ">
	<form id="pagerForm" method="post" action="tellerManage/getTellerInfo"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this,getTellerInfo);">
		<input type="hidden" name="pageNum" value="" /> <input type="hidden"
			name="numPerPage" value="" />
		<!-- <input type="hidden" name="pageCount" value="" /> -->
		<div class="searchBar">
			<div class="row" style="padding: 0 10px;">
				<div class="col-md-6 col-sm-12">
					<p>
						<label>柜员姓名/编号：</label> <input name="param" class="" type="text"
							size="30" />
					</p>
				</div>
				<div class="col-md-6 col-sm-12"></div>
			</div>
			<div class="subBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit" onclick="initCurrentPage()">查询</button>
							</div>
						</div> <span style="padding-left: 20px"></span>
					</li>
				</ul>
			</div>
		</div>
	</form>
</div>

<form method="post" action="" class="pageForm required-validate"
	onsubmit="return validateCallback(this,refresh);">
	<div class="pageContent">
		<div class="panelBar">
			<ul class="toolBar">
				<li><a class="add" href="tellerManage/addTeller"
					target="dialog" rel="addTeller" wh="big"><span>新增</span></a></li>
				<li><a class="edit" onclick="return updateTeller();"><span>修改</span></a></li>
				<!-- <li><a class="delete" onclick="return deleteSingleTask();"><span>强制签退</span></a></li> -->
			</ul>
		</div>
		<div id="ByTellerManage" >
			<table class="table" width="100%" layoutH="258">
				<thead>
					<tr align="center">
						<!-- <th width="2%"><input type="checkbox" name=""
							group="tellerManage" class="checkboxCtrl"></th> -->
						<th width="3%">选择</th>
						<th width="33%" orderField="accountLevel">柜员编号</th>
						<th width="40%" orderField="accountNo" class="asc">柜员姓名</th>
						<th width="24%" orderField="accountName">操作</th>
					</tr>
				</thead>
				<tbody id="tbodyByTeller">

				</tbody>
			</table>
		</div>
		<!-- 	<div class="panelBar">
			<div class="pages">
				<span>显示</span>
				<select id="numPerPageByTeller" name="numPerPage" onchange="paging(this,$('#getTellerInfo'),getTellerInfo)">
					<option value="20">20</option>
					<option value="30">30</option>
					<option value="50">50</option>
					<option value="100">100</option>
				</select>
				<span id="totalCountByTeller" ></span>
			</div>
			<div id="paginationByTeller" class="pagination1"  ></div>
	   </div> -->
		<div class="panelBar">
			<div class="pages">
				<span>显示</span> <select class="combox" name="numPerPage"
					onchange="navTabPageBreak({numPerPage:this.value},'tbodyByTeller',getTellerInfo)">
					<option value="20">20</option>
					<option value="50">50</option>
					<option value="100">100</option>
					<option value="200">200</option>
				</select> <span id="totalCountByTeller">条，共${totalCount}条</span>
			</div>

			<div callback='getTellerInfo' id="paginationByTeller"
				rel="tbodyByTeller" class="pagination" targetType="navTab"
				totalCount="200" numPerPage="5" pageNumShown="5" currentPage="1"></div>

		</div>
	</div>
</form>


